package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 投诉管理对象 complaint_info
 * 
 * @author ruoyi
 * @date 2024-01-05
 */
public class ComplaintInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 投诉编号 */
    private Long complaintId;

    /** 投诉订单号 */
    @Excel(name = "投诉订单号")
    private Long orderId;

    /** 投诉商家编号 */
    @Excel(name = "投诉商家编号")
    private Long sellerId;

    /** 投诉商家名字 */
    @Excel(name = "投诉商家名字")
    private String sellerName;

    /** 投诉商家电话 */
    @Excel(name = "投诉商家电话")
    private String sellerTele;

    /** 投诉民宿编号 */
    @Excel(name = "投诉民宿编号")
    private Long homestayId;

    /** 投诉标题 */
    @Excel(name = "投诉标题")
    private String title;

    /** 投诉内容 */
    @Excel(name = "投诉内容")
    private String content;

    /** 投诉相关图片 */
    @Excel(name = "投诉相关图片")
    private String pictures;

    /** 投诉人账号 */
    @Excel(name = "投诉人账号")
    private String userid;

    /** 投诉时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投诉时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date complaintTime;

    /** 投诉状态(0待处理，1处理中，2处理完成) */
    @Excel(name = "投诉状态(0待处理，1处理中，2处理完成)")
    private Long status;

    /** 处理人账号 */
    @Excel(name = "处理人账号")
    private String dealerId;

    /** 处理人名字 */
    @Excel(name = "处理人名字")
    private String dealerName;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dealTime;

    public void setComplaintId(Long complaintId) 
    {
        this.complaintId = complaintId;
    }

    public Long getComplaintId() 
    {
        return complaintId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setSellerId(Long sellerId) 
    {
        this.sellerId = sellerId;
    }

    public Long getSellerId() 
    {
        return sellerId;
    }
    public void setSellerName(String sellerName) 
    {
        this.sellerName = sellerName;
    }

    public String getSellerName() 
    {
        return sellerName;
    }
    public void setSellerTele(String sellerTele) 
    {
        this.sellerTele = sellerTele;
    }

    public String getSellerTele() 
    {
        return sellerTele;
    }
    public void setHomestayId(Long homestayId) 
    {
        this.homestayId = homestayId;
    }

    public Long getHomestayId() 
    {
        return homestayId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setPictures(String pictures) 
    {
        this.pictures = pictures;
    }

    public String getPictures() 
    {
        return pictures;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setComplaintTime(Date complaintTime) 
    {
        this.complaintTime = complaintTime;
    }

    public Date getComplaintTime() 
    {
        return complaintTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDealerId(String dealerId) 
    {
        this.dealerId = dealerId;
    }

    public String getDealerId() 
    {
        return dealerId;
    }
    public void setDealerName(String dealerName) 
    {
        this.dealerName = dealerName;
    }

    public String getDealerName() 
    {
        return dealerName;
    }
    public void setDealTime(Date dealTime) 
    {
        this.dealTime = dealTime;
    }

    public Date getDealTime() 
    {
        return dealTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("complaintId", getComplaintId())
            .append("orderId", getOrderId())
            .append("sellerId", getSellerId())
            .append("sellerName", getSellerName())
            .append("sellerTele", getSellerTele())
            .append("homestayId", getHomestayId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("pictures", getPictures())
            .append("userid", getUserid())
            .append("complaintTime", getComplaintTime())
            .append("status", getStatus())
            .append("dealerId", getDealerId())
            .append("dealerName", getDealerName())
            .append("dealTime", getDealTime())
            .toString();
    }
}
